package com.yiya.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yiya.bean.Renew;
import com.yiya.model.RenewCplex;
import com.yiya.model.RenewCplexModel;
import com.yiya.model.RenewExample;

public interface RenewMapper {
    int countByExample(RenewExample example);

    int deleteByExample(RenewExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Renew record);

    int insertSelective(Renew record);

    List<Renew> selectByExample(RenewExample example);

    Renew selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Renew record, @Param("example") RenewExample example);

    int updateByExample(@Param("record") Renew record, @Param("example") RenewExample example);

    int updateByPrimaryKeySelective(Renew record);

    int updateByPrimaryKey(Renew record);
    
    List<RenewCplex> selectByModel(RenewCplexModel model);
    
    int countByModel(RenewCplexModel model);
}